/**
 * Created by Baggio on 2018-11-2.
 */
function checkPhone(phone) {
    var flag=true;
    if (!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone))) {
       /* alert("手机号码有误，请重填");*/
        flag= false;
    }
    return flag;
}


function isNull(a) {
    var flag=true;
    if(a == "" || a == null || a == undefined){ // "",null,undefined
        console.log("为空");
        flag=false;
    }
    return flag;
}